projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25da672
)
reftests: Remove unused argument from function
author
Benjamin Otte
<otte@redhat.com>
Mon, 3 Mar 2014 13:21:02 +0000
(14:21 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 5 Mar 2014 20:03:36 +0000
(21:03 +0100)
testsuite/reftests/gtk-reftest.c
patch
|
blob
|
history
diff --git
a/testsuite/reftests/gtk-reftest.c
b/testsuite/reftests/gtk-reftest.c
index 19918a0f7827d8fcf8c25d7a328d696d6b09b08e..3cb8d0cb92281f2b7eae7626570a0740bab68e5b 100644
(file)
--- a/
testsuite/reftests/gtk-reftest.c
+++ b/
testsuite/reftests/gtk-reftest.c
@@
-446,8
+446,7
@@
buffer_diff_core (const guchar *buf_a,
}
static cairo_surface_t *
-compare_surfaces (const char *test_file,
- cairo_surface_t *surface1,
+compare_surfaces (cairo_surface_t *surface1,
cairo_surface_t *surface2)
{
int w1, h1, w2, h2, w, h;
@@
-493,7
+492,7
@@
test_ui_file (GFile *file)
}
g_free (reference_file);
- diff_image = compare_surfaces (ui_
file, ui_
image, reference_image);
+ diff_image = compare_surfaces (ui_image, reference_image);
save_image (ui_image, ui_file, ".out.png");
save_image (reference_image, ui_file, ".ref.png");